package com.ssy.lingxi.order.model.vo.buyer.request;

import com.ssy.lingxi.order.model.vo.basic.request.OrderIdVO;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;

/**
 * @author 万宁
 * @version 2.0.0
 * @date 2021-08-15
 */
public class BuyerPaymentVoucherVO extends OrderIdVO implements Serializable {
    private static final long serialVersionUID = -5355877818056700546L;

    /**
     * 支付批次（支付次数）
     */
    @NotNull(message = "支付批次要大于0")
    @Positive(message = "支付批次要大于0")
    private Integer batchNo;

    /**
     * 支付凭证url列表
     */
    @NotEmpty(message = "支付凭证列表不能为空")
    private List<String> vouchers;

    public Integer getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(Integer batchNo) {
        this.batchNo = batchNo;
    }

    public List<String> getVouchers() {
        return vouchers;
    }

    public void setVouchers(List<String> vouchers) {
        this.vouchers = vouchers;
    }
}
